/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

import Acquaintance.IACluster;

/**
 *功能：将聚类分析的结果存储到实体中
 * @author jlh
 */
public class EClusterResult implements IACluster{

    protected int Eparent;
    protected double  Evalue;
    protected int Echild1;
    protected int Echild2;
/**
 * 
 */
    public EClusterResult() {
    }

    /**
     * 
     * @param Eparent
     * @param Evalue
     * @param Echild1
     * @param Echild2 
     */
    public EClusterResult(int Eparent, double Evalue, int Echild1, int Echild2) {
        this.Eparent = Eparent;
        this.Evalue = Evalue;
        this.Echild1 = Echild1;
        this.Echild2 = Echild2;
    }


    /**
     *
     * Get the value of Echild2
     *
     * @return the value of Echild2
     */
    public int getEchild2() {
        return Echild2;
    }

    /**
     * Set the value of Echild2
     *
     * @param Echild2 new value of Echild2
     */
    public void setEchild2(int Echild2) {
        this.Echild2 = Echild2;
    }


    /**
     * Get the value of Echild1
     *
     * @return the value of Echild1
     */
    public int getEchild1() {
        return Echild1;
    }

    /**
     * Set the value of Echild1
     *
     * @param Echild1 new value of Echild1
     */
    public void setEchild1(int Echild1) {
        this.Echild1 = Echild1;
    }



    /**
     * Get the value of Evalue
     *
     * @return the value of Evalue
     */
    public double  getEvalue() {
        return Evalue;
    }

    /**
     * Set the value of Evalue
     *
     * @param Evalue new value of Evalue
     */
    public void setEvalue(int Evalue) {
        this.Evalue = Evalue;
    }


    /**
     * Get the value of Eparent
     *
     * @return the value of Eparent
     */
    public int getEparent() {
        return Eparent;
    }

    /**
     * Set the value of Eparent
     *
     * @param Eparent new value of Eparent
     */
    public void setEparent(int Eparent) {
        this.Eparent = Eparent;
    }

   
}
